//
//  PTCoreObject.h
//  PlanTech
//
//  Created by ruifeng song on 2018/7/16.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "PTMObject.h"

@interface PTMJsonResult : PTMObject<IPTMObject>

+(NSError *)checkWithResult:(PTMJsonResult *)result;
+(NSError *)checkWithHTTPError:(NSError *)error;

@property (nonatomic,strong,readwrite,nullable)NSNumber * code;
@property (nonatomic,strong,readwrite,nullable)NSDictionary * content;
@property (nonatomic,copy,readwrite,nullable)NSString * message;

@end
